package com.health.memberbackstage.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.health.memberbackstage.mapper.ReportDetailMapper;
import com.health.memberbackstage.pojo.Checkgroup;
import com.health.memberbackstage.pojo.ReportDetail;
import com.health.memberbackstage.service.ReportDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ReportDetailServiceImpl extends ServiceImpl<ReportDetailMapper, ReportDetail> implements ReportDetailService {

    @Autowired
    private ReportDetailMapper reportDetailMapper;

    @Override
    public List<Checkgroup> findByFileNumber(Long fileNumber) {
        return reportDetailMapper.selectByFileNumber(fileNumber);
    }
}
